package com.acme.bankapp.domain.bank;

public class EmailImpl implements Email {

	private String from;
	private String to;
	private String subject;
	private String message;

	private Client client;

	public EmailImpl() {
		
	}
	
	public EmailImpl(String from, String to, String subject, String message) {
		this.from = from;
		this.to = to;
		this.subject = subject;
		this.message = message;
	}
	
	public Client getClient() {
		return this.client;
	}

	public void setClient(final Client client) {
		this.client = client;
	}

	public String getFrom() {
		return this.from;
	}

	public void setFrom(final String from) {
		this.from = from;
	}

	public String getTo() {
		return this.to;
	}

	public void setTo(final String to) {
		this.to = to;
	}

	public String getSubject() {
		return this.subject;
	}

	public void setSubject(final String subject) {
		this.subject = subject;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(final String message) {
		this.message = message;
	}

	@Override
	public String toString() {

		return "From: " + from + "\n To: " + to + "\n Subject:" + subject
				+ "\n Message:" + message;
	}

}
